<template>
	<div :style="componentModel.cssStyle" :class="componentModel.cssClass">
		<slot></slot>
	</div>
</template>

<script>
	import utils from '@/utils/utils.js';
	export default {
		name: "DivComponent",
		props: ["componentModel"],
		inject:['children'],
		mounted() {
			this.children.push(this);
		},beforeUnmount() {
			utils.removeArrayElement(this.children,this);
		}
	}	
</script>

<style>
</style>
